package com.ruoyi.credit.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 收入类合同合约方关系对象 contract_income_customers
 * 
 * @author zhulei
 * @date 2022-03-10
 */
public class ContractIncomeCustomers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 合同-合约方uid */
    @Excel(name = "合同-合约方uid")
    private String contractIncomeCustomersUid;

    /** 支出类合同uid */
    @Excel(name = "支出类合同uid")
    private String contractIncomeUid;

    /** 供应商uid */
    @Excel(name = "供应商uid")
    private String customerUid;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastUpdateDate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setContractIncomeCustomersUid(String contractIncomeCustomersUid) 
    {
        this.contractIncomeCustomersUid = contractIncomeCustomersUid;
    }

    public String getContractIncomeCustomersUid() 
    {
        return contractIncomeCustomersUid;
    }
    public void setContractIncomeUid(String contractIncomeUid) 
    {
        this.contractIncomeUid = contractIncomeUid;
    }

    public String getContractIncomeUid() 
    {
        return contractIncomeUid;
    }
    public void setCustomerUid(String customerUid) 
    {
        this.customerUid = customerUid;
    }

    public String getCustomerUid() 
    {
        return customerUid;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setLastUpdateDate(Date lastUpdateDate) 
    {
        this.lastUpdateDate = lastUpdateDate;
    }

    public Date getLastUpdateDate() 
    {
        return lastUpdateDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("contractIncomeCustomersUid", getContractIncomeCustomersUid())
            .append("contractIncomeUid", getContractIncomeUid())
            .append("customerUid", getCustomerUid())
            .append("createDate", getCreateDate())
            .append("lastUpdateDate", getLastUpdateDate())
            .toString();
    }
}
